package org.huifei.a12_command;

/**
 * @author: huifei
 * @date: 2017-09-01 13:23
 */
public class MyCommand implements Command{

    private Recevier recevier;

    public MyCommand(Recevier recevier) {
        this.recevier = recevier;
    }

    @Override
    public void exe() {
        recevier.action();
    }
}
